home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13300 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++ 4.5 Problems with Dialogs
  5. Date: 24 Mar 1996 20:32:56 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4j4bho$g1g@news1.h1.usa.pipeline.com>
  8. References: <4j46bi$65l@mongol.sasknet.sk.ca>
  9. NNTP-Posting-Host: 38.8.61.12
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 24, 1996 19:04:18 in article <BC++ 4.5 Problems with Dialogs>,
  16. 'darren.dzikowski@dlcwest.com (Darren Dzikowski)' wrote: 
  17.  
  18.  
  19. >Hi there: 
  20. >1.  When I try to specify a dialog class with Borland's Resource Workshop,
  21.  
  22. >(ie. CLASS BorDLG_GRAY in a .RC file..(All I want to do is create a dialog
  23.  
  24. >with a gray background)) the dialog box will display when I compile my  
  25. >application and run it with Borland IDE running.  However, if I exit the
  26. IDE  
  27. >and try to run my application, the dialog window will not open.  Is there
  28. a  
  29. >header instruction I need to include to make this work properly? 
  30. From the FAQ: 
  31. ========================================================================== 
  32.  
  33. Q147: Why does my BC++ Windows app crash when I'm not running the BC45 IDE?
  34.  
  35.  
  36. If you're using BC++ for a Windows app, and it works ok as long as you have
  37.  
  38. the BC45 IDE running, but when the BC45 IDE is shut down you get an
  39. exception 
  40. during the creation of a window, then add the following line of code to the
  41.  
  42. InitMainWindow() method of your application ("YourApp::InitMainWindow()"): 
  43.  
  44.     EnableBWCC(TRUE); 
  45.  
  46. ========================================================================== 
  47.  
  48.  
  49. >2.  Is there a quick and dirty way to change the background color of a
  50. dialog  
  51. ... [ rest deleted ]... 
  52.  
  53. If nobody answers Q2 in this newsgroup, try 
  54. comp.os.ms-windows.programmer.tools.owl 
  55.  
  56. -- 
  57. Pete Grant 
  58. Kalevi, Inc. 
  59. Software Engineering & development
  60.